home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / info-service / www / src / midaswww-1.0 / SGMLListText.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-11-16  |  1.9 KB  |  66 lines

  1. /*==================================================================*/
  2. /*                                                                  */
  3. /* SGMLListTextObject                                               */
  4. /*                                                                  */
  5. /* T.Johnson - (TonyJ@Slacvx.Slac.Stanford.Edu)           June.92   */
  6. /*                                                                  */
  7. /* Defines a list text segment for the SGMLText widget              */
  8. /*                                                                  */
  9. /*==================================================================*/
  10.  
  11. #ifndef  SGMLLISTTEXT_H
  12. #define  SGMLLISTTEXT_H
  13. #include "SGMLCompositeText.h"
  14.  
  15. #define SGMLNnumBullets   "numBullets"
  16. #define SGMLNallocBullets "allocBullets"
  17. #define SGMLNbulletType   "bulletType"
  18. #define SGMLCBulletType   "BulletType"
  19. #define SGMLRBulletType   "BulletType"
  20. #define SGMLNbulletSize   "bulletSize"
  21. #define SGMLCBulletSize   "BulletSize"
  22. #define SGMLNbulletColor  "bulletColor"
  23. #define SGMLCBulletColor  "BulletColor"
  24. #define SGMLNbulletIndent "bulletIndent"
  25. #define SGMLCBulletIndent "BulletIndent"
  26.  
  27. #define SGMLBULLET_DEFAULT -1
  28. #define SGMLBULLET_BULLET  0
  29. #define SGMLBULLET_DIAMOND 1
  30. #define SGMLBULLET_SQUARE  2
  31. #define SGMLBULLET_NUMERIC 3
  32. #define SGMLBULLET_ALPHA   4
  33.  
  34. #define SGMLINHERIT_CLASS NULL 
  35.  
  36. extern WidgetClass sGMLListTextObjectClass;
  37. typedef struct _SGMLListTextRec  *SGMLListTextObject;
  38.  
  39. #ifdef _NO_PROTO
  40.  
  41. extern Widget  CreateSGMLListText();
  42.  
  43. #else
  44.  
  45. #if defined(__cplusplus) || defined(c_plusplus)
  46. extern "C" {
  47. #endif
  48.  
  49.     extern Widget SGMLCreateListText(Widget parent,
  50.         char *name,
  51.         ArgList al,
  52.         int ac);
  53.  
  54.     extern void SGMLListTextInsertChild(Widget parent, Widget child);
  55.     
  56. #if defined(__cplusplus) || defined(c_plusplus)
  57. }
  58. #endif
  59.  
  60. #endif /* _NO_PROTO */
  61.  
  62. #define SGMLIsListText(w)     XtIsSubclass(w,sGMLListTextObjectClass)
  63.  
  64. #endif SGMLLISTTEXT_H
  65.  
  66.